package com.xiaowen.entity;

import java.util.Date;

public class Comment {
    private Integer commentId;

    private Integer commentUser;

    private Integer commentTravel;

    private String commentContent;

    private Date commentTime;

    private User commentUserId;

    private Travel travel;

    public User getCommentUserId() {
        return commentUserId;
    }

    public void setCommentUserId(User commentUserId) {
        this.commentUserId = commentUserId;
    }

    public Travel getTravel() {
        return travel;
    }

    public void setTravel(Travel travel) {
        this.travel = travel;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Integer getCommentUser() {
        return commentUser;
    }

    public void setCommentUser(Integer commentUser) {
        this.commentUser = commentUser;
    }

    public Integer getCommentTravel() {
        return commentTravel;
    }

    public void setCommentTravel(Integer commentTravel) {
        this.commentTravel = commentTravel;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent == null ? null : commentContent.trim();
    }

    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }
}